// import { createApp } from 'vue'
// import App from './App.vue'

// createApp(App).mount('#app')

import { createApp, provide } from 'vue';
import App from './App.vue';
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import './assets/dialog-performance.css';
import router from '../src/router';
import store from './store'

// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

// import { ElSubmenu } from 'element-plus'; // Import the specific component


const app = createApp(App);
app.use(ElementPlus);

// app.component('el-submenu', ElSubmenu); // Register the component


for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}


app.use(store)
app.use(router)
app.mount('#app');


